package testclasses;

public class ClassA {

	private String s1;
	private ClassB b1;
	private ClassB b2;
	private String s2;
	
	public ClassA(String s1) {
		this.s1 = s1;
	}
	
	public ClassA(ClassB b1, String s2) {
		
	}
	
	public ClassA(String s1, ClassA b1, String s2, ClassB b2) {
		
	}
	
	public ClassA(ClassB b1, String s1, String s2, ClassB b2) {
		this.b1 = b1;
		this.b2 = b2;
		this.s1 = s1;
		this.s2 = s2;
	}
	
	public void setS1(String s1) {
		this.s1 = s1;
	}
	
	public void test() {
		System.out.println(s1);
	}
	
	@Override
	public String toString() {		
		return s1 + " " + s2;
	}

	public ClassB getB1() {
		return b1;
	}

	public ClassB getB2() {
		return b2;
	}

	public void setB1(ClassB b1) {
		this.b1 = b1;
	}

	public void setB2(ClassB b2) {
		this.b2 = b2;
	}
		
}
